\documentclass[10pt]{report}

\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp}
\usepackage{setspace}
\usepackage[colorlinks=true]{hyperref}
\usepackage{geometry}
\usepackage[dvips]{graphicx}
\usepackage{import}
\usepackage{fancyhdr}

\geometry{verbose,tmargin=2.5cm,bmargin=3cm,lmargin=2cm,rmargin=2cm}
\graphicspath{{img/}}
\hypersetup{urlcolor=blue,linkcolor=black,citecolor=black,colorlinks=true} 

\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}}

\pagestyle{fancy}
\fancyhf{}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{#1}}

\fancyhead[LE,RO]{\textbf{\thepage}}
\fancyhead[LO]{\textsl{\rightmark}}
\fancyhead[RE]{\textsl{\leftmark}}
\fancyfoot[CO]{\thepage}


% -- MAIN --


\subimport{part2/}{begin.tex}
\subimport{part2/}{resume.tex}
\tableofcontents

\begin{onehalfspace}

\subimport{part2/}{composant.tex}
\subimport{part2/}{moral.tex}
\subimport{part2/}{relationnel.tex}

\end{onehalfspace}

%\bibliographystyle{plain}
%\nocite{*}
%\bibliography{bibli}

\end{document}
